; Copyright (c) AVerMedia Technologies, Inc.  All rights reserved.
; Installation inf file for AVerMedia DVB-T BDA Video Capture(A310)


[Version]
signature	= "$Windows NT$"
Class		= MEDIA
ClassGUID	= {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider	= %AVERMEDIA%
DriverVer	=05/06/2009,1.1.64.30
CatalogFile	= AVerA310.CAT


[ControlFlags]
;ExcludeFromSelect=*

[DestinationDirs]
AVerA310.CopyFiles	= 10,System32\Drivers

;=========Device Install===============

[Manufacturer]
%AVERMEDIA%=AVERMEDIA,NTamd64

[AVERMEDIA.NTamd64]
%USB.DeviceDesc.A310%	= AVerA310, USB\VID_07CA&PID_A310


[AVerA310.NTamd64]
Include     = ks.inf, kscaptur.inf, bda.inf
needs=KS.Registration, KSCAPTUR.Registration.NT, BDA.REGISTRATION.NT, BDA.Installation.NT
AddReg=AVERMEDIA.AddReg
CopyFiles=AVerA310.CopyFiles

[AVerA310.NTamd64.HW]
AddReg=AVerA310.AddReg


[AVerA310.AddReg]
HKR,,"LowerFilters",0x00010000,"A310"

[AVerA310.CopyFiles]
AVerA310USB.sys
AVerA310Cap.sys

[AVERMEDIA.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,AVerA310Cap.sys
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{0527D1D0-88C2-11D2-82C7-00C04F8EC183}"
HKR,,PageOutWhenUnOpened,3,01
HKR,,AGCIFMAX,0x00010001,255
HKR,,AGCIFMIN,0x00010001,0
HKR,,SettlingTime1,0x00010001,10
HKR,,SettlingTime2,0x00010001,10
HKR,,SettlingTime3,0x00010001,10
HKR,,SettlingTime4,0x00010001,10
HKR,,DEMOD_POWER_CTRL,0x00010001,0
HKR,,InterruptDelay,0x00010001,5
HKR,,RtnCanRemove,0x00010001,1
HKR,,SelectiveSuspend,0x00010001,0
HKR,,SSStartDelay,0x00010001,120000
HKR,,StreamIntr,0x00010001,0

[AVerA310.NTamd64.Interfaces]
AddInterface = %KSCATEGORY_BDARECEIVER%, 	%KSSTRING_BdaSWCapFilter%, 		BDASwCap.Filter
AddInterface = %KSCATEGORY_BDASwTunerDVBT%, 	%KSSTRING_BDASwTunerDVBTFilter%, 	BDASwTunerDVBT.Filter


[BDASwCap.Filter]
AddReg = BDASwCap.Filter.AddReg

[BDASwCap.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BDASwCap.FilterDesc%

[BDASwTunerDVBT.Filter]
AddReg = BDASwTunerDVBT.Filter.AddReg

[BDASwTunerDVBT.Filter.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%BDASwTunerDVBT.FilterDesc%


[AVerA310.NTamd64.Services]
AddService = A310, 0x00000000, A310.ServiceInstall
AddService=BDASwCap, 0x00000002, BDASwCap.ServiceInstall


[A310.ServiceInstall]
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
DisplayName	= %A310.DeviceDesc%
ServiceBinary = %12%\AVerA310USB.sys

[BDASwCap.ServiceInstall]
DisplayName=%BDASwCap.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%10%\system32\drivers\AVerA310Cap.sys
LoadOrderGroup=ExtendedBase

[Strings]
; non-localizeable
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_BDARECEIVER="{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSSTRING_BDASwCapFilter="{81203704-0541-41fd-85FE-72E8D31D49D5}"

KSCATEGORY_BDASwTunerDVBT="{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSSTRING_BDASwTunerDVBTFilter="{D9934576-106B-4fa6-8F37-9A3CFDEFEA3F}"


SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_EXPAND_SZ=0x00020000
REG_DWORD=0x00010001

;localizeable
AVERMEDIA	= "AVerMedia TECHNOLOGIES, Inc."
BDASwCap.DeviceDesc="AVerMedia A310 BDA DVBT Capture Device"
BDASwCap.FilterDesc="AVerMedia BDA Digital Capture"
BDASwCap.FriendlyName="AVerMedia A310 BDA DVBT Capture"

BDASwTunerDVBT.DeviceDesc="AVerMedia A310 BDA DVBT Tuner Device"
BDASwTunerDVBT.FilterDesc="AVerMedia BDA Digital Tuner"
BDASwTunerDVBT.FriendlyName="AVerMedia A310 BDA DVBT Tuner"

A310.DeviceDesc="AVerMedia A310 DVB-T"

USB.DeviceDesc.A310	= "AVerMedia A310 (MiniCard, DVB-T)"

BDA_DISK="AVerMedia A310 Driver Disk"

ClassName="AVerMedia"


[SourceDisksNames]
1 = %BDA_DISK%,,,""

[SourceDisksFiles]
AVerA310USB.sys = 1,,
AVerA310Cap.sys = 1,,
